home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10061 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  900 b 

  1. Path: feed.umontreal.ca!usenet
  2. From: Carlos Moreno <moreno@crt.umontreal.ca>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: pointer to 2 dim array
  5. Date: Tue, 05 Mar 1996 18:32:37 -0500
  6. Organization: Universite de Montreal
  7. Distribution: world
  8. Message-ID: <313CCF15.5A09@crt.umontreal.ca>
  9. References: <313B3317.3CD9@gold.interlog.com> <313B55C2.2F31@gold.interlog.com>
  10. NNTP-Posting-Host: gate.crt.umontreal.ca
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=us-ascii
  13. Content-Transfer-Encoding: 7bit
  14. X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
  15.  
  16. > MARK GILLANDERS wrote:
  17. > >
  18. > > How can I create a dynamic 2 dimesional array
  19. > > and be able to be store and retrieve from it?
  20.  
  21. Mark,
  22.  
  23. Check the FAQ of the C newsgroup (comp.lang.c).  This topic is 
  24. explicitely addressed there.  They give you the solution using 
  25. malloc and free.  The extension to new and delete is straightforward.
  26.  
  27. Good luck,
  28.  
  29. Carlos
  30. --
  31.